namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class nianhuan_task
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(50)]
        public string GID { get; set; }

        [StringLength(50)]
        public string MRL_CODE { get; set; }

        [StringLength(20)]
        public string WORK_CELL_CODE { get; set; }

        [StringLength(100)]
        public string MAKING_CODE { get; set; }

        [StringLength(100)]
        public string FDSIZE1 { get; set; }

        [StringLength(100)]
        public string FDSIZE2 { get; set; }

        [StringLength(100)]
        public string FDSIZE3 { get; set; }

        public decimal? SHRINKRATIO { get; set; }

        public int? STATE { get; set; }

        public DateTime? SEND_TIME { get; set; }

        public DateTime? WTIRE_TIME { get; set; }

        [Key]
        [Column(Order = 1, TypeName = "datetime2")]
        public DateTime CREATE_DATE { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? MODIFY_DATE { get; set; }

        [Key]
        [Column(Order = 3)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int IS_ACTIVE { get; set; }

        [Key]
        [Column(Order = 4)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int IS_DELETE { get; set; }

        [StringLength(32)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }

        public decimal? OUTSIZE { get; set; }

        public decimal? INSIZE { get; set; }

        public decimal? HSIZE { get; set; }
    }
}
